﻿namespace Anley.DomainDrivenDesign.Contract;

/// <summary>
/// 常量类
/// </summary>
public static class AneConsts
{
    internal const string CorsName = "AneCors";

    internal const string JwtTokenHeaderName = "Authorization";
    internal const string JwtIssueName = "Anley";

    internal const string AuthorName = "Anley";
    internal const string AuthorEmail = "anley21@qq.com";
    internal const string WechatNo = "anley21";
    internal const string QqNo = "anley21";

    public const string AdminUserName = "anley";
    public const string AdminUserEmail = "anley21@qq.com";
    public const string AdminRoleName = "系统管理员";
    public const string AdminRoleCode = "admin";
    public const string AdminRoleDescription = "系统管理员";

    public const string DefaultDateFormat = "yyyy-MM-dd";
    public const string DefaultDateTimeFormat = "yyyy-MM-dd HH:mm:ss";

    public const string TXTContentType = "text/plain";
    public const string XMLContentType = "application/xml";
    public const string JSONContentType = "application/json";
    public const string BMPContentType = "image/bmp";
    public const string PNGContentType = "image/png";
    public const string JPEGContentType = "image/jpeg";
    public const string DOCContentType = "application/msword";
    public const string DOCXContentType = "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
    public const string XLSContentType = "application/vnd.ms-excel";
    public const string XLSXContentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
    public const string PPTContentType = "application/vnd.ms-powerpoint";
    public const string PPTXContentType = "application/vnd.openxmlformats-officedocument.presentationml.presentation";
    public const string CSVContentType = "text/csv";
    public const string PDFContentType = "application/pdf";
    public const string OFDContentType = "application/ofd";
    public const string ZIPContentType = "application/zip";
    public const string RARContentType = "application/x-rar-compressed";
    public const string MP3ContentType = "audio/mpeg";
    public const string MP4ContentType = "video/mpeg";

    public const string DefaultCultureName = "zh-CN";
    public const string DefaultLocalizerPathName = "Resources";

    

    public const int DefaultPageNumber = 1;
    public const int DefaultPageSize = 15;
}